<h1>basename</h1>
<p>
Return the basename of a path.
</p>
<pre>
 function basename(path,  n,tmp) {
    n = split(path,tmp,/\//)
    return tmp[n]
 }
</pre>
<p>
by Tim Menzies
